/**
 * Copyright:  Copyright (c) 2013
 *
 * @FileName		: FundDivisionDAOImpl.java
 * @PageName		: 매출채권 사업부별
 * @Date			: 오후 6:11:22
 * @LastModifier	: 최경민
 * @LastModifyDate	: 
 * @LastModifier	: 
 * Change history	:
 */
package com.pulp.sales.dao.impl;

import java.sql.SQLException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

import com.pulp.sales.dao.FundDivisionDAO;
import com.pulp.sales.model.FundDivisionInfo;

/**
 * @author 최경민
 *
 */
public class FundDivisionDAOImpl extends SqlMapClientDaoSupport implements FundDivisionDAO {

	/* (non-Javadoc)
	 * @see com.pulp.management.dao.FundDivisionDAO#getFundDivisionCombiLineChartList()
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<FundDivisionInfo> getFundDivisionCombiLineChartList() throws SQLException {
		Map mapArgs = new HashMap();
		return getSqlMapClientTemplate().queryForList("manage.FundDivisionCombiLineChartList", mapArgs);
	}

	/* (non-Javadoc)
	 * @see com.pulp.management.dao.FundDivisionDAO#getFundDivisionTableList()
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<FundDivisionInfo> getFundDivisionTableList() throws SQLException {
		Map mapArgs = new HashMap();
		return getSqlMapClientTemplate().queryForList("manage.FundDivisionTableList", mapArgs);
	}

}
